package com.example.wangyongdong.bearsqlitedemo.view;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;

/**
 * Created by wangyongdong on 2017/4/27.
 */

public class PointView extends View{
    private int width;
    private int height;
    private Paint paint;
    private static final int PADDING_WIDTH = 1000;

    public PointView(Context context) {
        super(context,null);
    }

    public PointView(Context context, AttributeSet attrs) {
        super(context, attrs,0);
    }

    public PointView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
        width = MeasureSpec.getSize(widthMeasureSpec);
        height = MeasureSpec.getSize(heightMeasureSpec);
    }

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
    }
}
